Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update rust crate ndk to 0.9 #807

Closed
wants to merge 1 commit into from
Closed

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 16, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
ndk dependencies minor 0.7 -> 0.9

Release Notes

rust-mobile/ndk (ndk)

v0.9.0: ndk v0.9.0

Compare Source

  • Move MediaFormat from media::media_codec to its own media::media_format module. (#​442)
  • media_format: Expose MediaFormat::copy() and MediaFormat::clear() from API level 29. (#​449)
  • Breaking: media_format: Mark all fn set_*() and fn str() as taking self by &mut. (#​452)
  • Breaking: Require all dyn Fn* types to implement Send when the FFI implementation invokes them on a separate thread: (#​455)
    • audio::AudioStreamDataCallback;
    • audio::AudioStreamErrorCallback;
    • media::image_reader::BufferRemovedListener;
    • media::image_reader::ImageListener;
    • media::media_codec::ErrorCallback;
    • media::media_codec::FormatChangedCallback;
    • media::media_codec::InputAvailableCallback;
    • media::media_codec::OutputAvailableCallback.
  • Drop previous Boxed callbacks after registering new ones, instead of before. (#​455)
  • input_queue: Add from_java() constructor, available since API level 33. (#​456)
  • event: Add from_java() constructors to KeyEvent and MotionEvent, available since API level 31. (#​456)
  • Breaking: image_reader: Special-case return statuses in Image-acquire functions. (#​457)
  • Breaking: image_reader: Mark ImageReader::acquire_latest_image_async() unsafe to match the safety requirements on ImageReader::acquire_next_image_async(). (#​457)
  • event: Implement SourceClass bitflag and provide Source::class() getter. (#​458)
  • Ensure all bitflags implementations consider all (including unknown) bits in negation and all(). (#​458)
  • Breaking: Mark all enums as non_exhaustive and fix repr types. (#​459)
  • Breaking: native_window: Remove redundant TRANSFORM_ prefix from NativeWindowTransform variants. (#​460)
  • Breaking: hardware_buffer: Convert HardwareBufferUsage to bitflags. (#​461)
  • bitmap: Guard BitmapCompressError behind missing api-level-30 feature. (#​462)
  • native_window: Require linking against libnativewindow for most API >= 26 functions. (#​465)
  • Breaking: audio: Merge AudioResult variant enum into AudioError. (#​467)
  • data_space: Add missing DataSpaceRange::Unspecified variant. (#​468)
  • Breaking: looper: Require Send marker when adding fd event callbacks on ForeignLooper. (#​469)
  • Breaking: Upgrade to ndk-sys 0.6.0. (#​472)

v0.8.0: ndk v0.8.0

Compare Source

  • event: Add tool_type getter for Pointer. (#​323)
  • input_queue: Allow any non-zero return code from pre_dispatch() again, as per documentation. (#​325)
  • asset: Use entire asset length when mapping buffer. (#​387)
  • Bump MSRV to 1.66 for raw-window-handle 0.5.1, num_enum's catch_all with arbitrary enum discriminants. (#​388, #​431)
  • Bump optional jni dependency for doctest example from 0.19 to 0.21. (#​390)
  • Breaking: Upgrade to ndk-sys 0.5.0. (#​370)
  • Breaking: Upgrade bitflags crate from 1 to 2. (#​394)
  • bitmap: Add try_format() to AndroidBitmapInfo to handle unexpected formats without panicking. (#​395)
  • Add Font bindings. (#​397)
  • Breaking: Upgrade num_enum crate from 0.5.1 to 0.7. (#​398, #​419)
  • Breaking: Renamed, moved and flattened "media" error types and helpers to a new media_error module. (#​399, #​432)
  • Breaking: media_codec: Wrap common dequeued-buffer status codes in enum. (#​401)
  • Breaking: media_codec: Return MaybeUninit bytes in buffer_mut(). (#​403)
  • native_window: Add lock() to blit raw pixel data. (#​404)
  • hardware_buffer_format: Add YCbCr_P010 and R8_UNORM variants. (#​405)
  • Breaking: hardware_buffer_format: Add catch-all variant. (#​407)
  • asset: Add missing is_allocated() and open_file_descriptor() methods. (#​409)
  • Breaking: media_codec: Add support for asynchronous notification callbacks. (#​410)
  • Add panic guards to callbacks. (#​412)
  • looper: Add remove_fd() to unregister events/callbacks for a file descriptor. (#​416)
  • Breaking: Use BorrowedFd and OwnedFd to clarify possible ownership transitions. (#​417)
  • Breaking: Upgrade to ndk-sys 0.5.0. (#​420)
  • Add bindings for sync.h. (#​423)
  • Breaking: bitmap: Provide detailed implementation for AndroidBitmapInfoFlags. (#​424)
  • native_window: Add set_buffers_transform(), try_allocate_buffers() and set_frame_rate*(). (#​425)
  • Add bindings for ASharedMemory. (#​427)
  • hardware_buffer: Add id() to retrieve a system-wide unique identifier for a HardwareBuffer. (#​428)
  • Breaking: bitmap: Strip Android prefix from structs and enums, and Bitmap from Result. (#​430)
  • Breaking: raw-window-handle 0.5 support is now behind an optional rwh_05 crate feature and raw-window-handle 0.4 and 0.6 support is provided via the new rwh_04 and (default-enabled) rwh_06 crate features. (#​434)
  • Breaking: looper: Provide event value to file descriptor poll callback. (#​435)
  • Breaking: HardwareBufferFormat is no longer exported from hardware_buffer and native_window, and can only be reached through the hardware_buffer_format module. (#​436)
  • Breaking: get_ prefixes have been removed from all public functions in light of the C-GETTER convention. (#​437)
  • Add DataSpace type and relevant functions on Bitmap and NativeWindow. (#​438)
  • bitmap: Add Bitmap::compress() and Bitmap::compress_raw() functions. (#​440)
  • Breaking: Turn BitmapError into a non_exhaustive enum. (#​440)
  • Breaking: audio: Rename AudioErrorResult to AudioResult and turn into a non_exhaustive enum. (#​441)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from a team as a code owner October 16, 2023 15:26
@renovate renovate bot force-pushed the renovate/ndk-0.x branch 10 times, most recently from 2bbf2cc to 8a9eee3 Compare October 19, 2023 17:23
@renovate renovate bot force-pushed the renovate/ndk-0.x branch 5 times, most recently from fe1161e to 1e8df48 Compare October 29, 2023 14:08
@renovate renovate bot force-pushed the renovate/ndk-0.x branch 7 times, most recently from 71e3db4 to 857bd1d Compare November 7, 2023 04:23
@renovate renovate bot force-pushed the renovate/ndk-0.x branch 4 times, most recently from e61a7e7 to 42b031d Compare November 17, 2023 06:26
@renovate renovate bot force-pushed the renovate/ndk-0.x branch 3 times, most recently from aff6676 to 0b42f9f Compare November 23, 2023 14:16
@renovate renovate bot force-pushed the renovate/ndk-0.x branch 3 times, most recently from fb0ab2d to bab2de2 Compare May 1, 2024 09:14
@renovate renovate bot changed the title fix(deps): update rust crate ndk to 0.9 fix(deps): update rust crate ndk to 0.9.0 May 1, 2024
@renovate renovate bot force-pushed the renovate/ndk-0.x branch 2 times, most recently from 62b23a4 to 94b96aa Compare May 5, 2024 10:36
@renovate renovate bot changed the title fix(deps): update rust crate ndk to 0.9.0 fix(deps): update rust crate ndk to 0.9 May 5, 2024
@renovate renovate bot force-pushed the renovate/ndk-0.x branch 2 times, most recently from 2099ae2 to 408af80 Compare May 7, 2024 14:28
@renovate renovate bot force-pushed the renovate/ndk-0.x branch 2 times, most recently from b9bc7a1 to 3460eb6 Compare May 16, 2024 03:13
@renovate renovate bot force-pushed the renovate/ndk-0.x branch 3 times, most recently from a2a19e2 to 5a5bf0e Compare June 7, 2024 04:53
Copy link
Contributor

github-actions bot commented Jun 7, 2024

Package Changes Through 30434ff

There are 1 changes which include tao with patch

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
tao 0.28.1 0.28.2

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@renovate renovate bot force-pushed the renovate/ndk-0.x branch 2 times, most recently from 65735b6 to acc959e Compare June 12, 2024 17:29
@renovate renovate bot force-pushed the renovate/ndk-0.x branch 6 times, most recently from bcb48d7 to c8f45db Compare June 30, 2024 04:27
@renovate renovate bot force-pushed the renovate/ndk-0.x branch from c8f45db to 3d5b934 Compare July 5, 2024 19:29
@renovate renovate bot force-pushed the renovate/ndk-0.x branch from 3d5b934 to 0292a37 Compare July 16, 2024 02:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants